home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q100 / 0 / 10.TXT < prev    next >
Text File  |  1993-09-28  |  4KB  |  95 lines

  1. DOCUMENT:Q100010  27-SEP-1993  [W_NT]
  2. TITLE   :What are Control Sets? What is CurrentControlSet?
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12. ------------------------------------------------------------------
  13.  
  14. WARNING: Using Registry Editor incorrectly can cause
  15.      serious, system-wide problems that may require you to
  16.      reinstall Windows NT to correct them. Microsoft cannot
  17.      guarantee that any problems resulting from the use of
  18.      Registry Editor can be solved. Use this tool at your own
  19.      risk.
  20.  
  21. A control set contains system configuration information such as device
  22. drivers and services. You may notice several instances of control sets
  23. when viewing the Registry. Some are duplicates or mirror images of
  24. others and some are unique. This article describes how to find control
  25. sets, which ones are important, and why.
  26.  
  27. Control sets are stored in the HKEY_LOCAL_MACHINE hive, under the
  28. SYSTEM key. There may be several control sets depending on how often
  29. you change system settings or have problems with the settings you
  30. choose. A typical installation of Windows NT will contain four:
  31.  
  32.    \ControlSet001
  33.    \ControlSet002
  34.    \CurrentControlSet
  35.    \Clone
  36.  
  37. ControlSet001 may be the last control set you booted with, while
  38. ControlSet002 could be what is known as the last known good control
  39. set, or the control set that last successfully booted Windows NT. The
  40. CurrentControlSet subkey is really a pointer to one of the
  41. ControlSetXXX keys. Clone is a clone of CurrentControlSet, and is
  42. created each time you boot your computer by the kernel initialization
  43. process. In order to better understand how these control sets are
  44. used, you need to be aware of another subkey, Select.
  45.  
  46. Select is also under the SYSTEM key. Select contains the following
  47. values:
  48.  
  49.    Current
  50.    Default
  51.    Failed
  52.    LastKnownGood
  53.  
  54. Each of these values contain a REG_DWORD data type and refer to
  55. specifically to a control set. For example, if the Current value is
  56. set to 0x1, then CurrentControlSet is pointing to ControlSet001.
  57. Similarly, if LastKnownGood is set to 0x2, then the last known good
  58. control set is ControlSet002. The Default value usually agrees with
  59. Current, and Failed refers to a control set that was unable to boot
  60. Windows NT successfully.
  61.  
  62. The most valuable and reliable control set is CurrentControlSet. If
  63. you need to modify system settings in the Registry, CurrentControlSet
  64. is the best subkey to choose because you know that it is the correct
  65. control set. You also know that if your modifications harm your system
  66. configuration, you will still be able to boot using the last known
  67. good control set.
  68.  
  69. If you are not sure where to look under the control set for a
  70. particular parameter, you can use the Find Key option under the View
  71. menu of Registry Editor. Each control set contains two subkeys:
  72. Control and Services. Control contains miscellaneous system
  73. information such as the size and location of the paging file. Services
  74. contains device driver information such as file system drivers, kernel
  75. drives, and status information for each.
  76.  
  77. Additional reference words: 3.1
  78. KBCategory:
  79. KBSubCategory: DEVDRVR 
  80.  
  81. =============================================================================
  82.  
  83. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  84. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  85. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  86. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  87. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  88. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  89. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  90. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  91. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  92. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  93. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  94.  
  95. Copyright Microsoft Corporation 1993.